package com.doge.controller.wx;

import com.doge.bean.base.BaseRespVo;
import com.doge.bean.vo.wxhome.HomeAboutVO;
import com.doge.service.wx.home.WxHomeAboutService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 微信商城的个人中心，点击关于我们，关于商城配置的一些信息
 * /wx/home/about
 */
@RestController
@RequestMapping("/wx/home")
public class WxHomeAboutController {
    @Autowired
    WxHomeAboutService homeAboutService;

    /**
     * wx/home/about GET
     */
    @GetMapping("about")
    public BaseRespVo about(){
        HomeAboutVO homeAboutVO = homeAboutService.about();
        return BaseRespVo.ok(homeAboutVO);
    }


}